<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>计算属性</title>
    <style>
        .one{
            background: red;
            position: absolute;
            /*width: calc(50% - 100px);*/
            /*width: calc(100% / 4);*/
            width: calc(20% * 4);
            height: 100%;
        }
    </style>


</head>



<body>

<div class="one"></div>


</body>
</html>